﻿CREATE TABLE [IOUAPI].[UserAddresses] (
    [AddressId]    INT           IDENTITY (1, 1) NOT NULL,
    [UserId]       INT           NOT NULL,
    [EmailAddress] VARCHAR (255) NOT NULL,
    CONSTRAINT [PK_UserAddresses] PRIMARY KEY CLUSTERED ([AddressId] ASC),
    CONSTRAINT [FK_UserAddresses_Users] FOREIGN KEY ([UserId]) REFERENCES [IOUAPI].[Users] ([UserId])
);

